package com.example.project_01.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * ClassName: Account
 * Package: com.example.project_01.pojo
 * Description:
 *
 * @Author ShiYi
 * @Create 2025/10/13 11:32
 * @Version 1.0
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("account")
public class Account implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String realName;
    private String uname;
    private String pwd;
    private String phoneNumber;
    private String utype;
    private String salt;
    private Date updateTime; // 修改时的系统时间
    private Date createTime; // 创建时的系统时间
}
